package com.third.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author 唐博文
 * @version 2023.1.2
 * @date 2023/10/22 17:36 星期日
 */
@Configuration
public class WebConfiguration {
    
    @Bean
    BCryptPasswordEncoder passwordEncoder(){
        return new BCryptPasswordEncoder();
    }
}
